<%-- 
    Document   : editCategory
    Created on : Dec 9, 2011, 12:22:57 PM
    Author     : Vince
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Category Editor</title>
    </head>
    <body>
        <h1>Edit Category:</h1>
        <form action="CourseManager" method="post" name="editCategoryForm">
        <TABLE class="noborder">
            ${editCategoryMessage}           
            <TR>
                <input type="hidden" name="categoryName" value="${categoryName}"/>
                <TD>Category Name:</TD><TD><input type="text" name="categoryNameView" value="${categoryName}" disabled="disabled"/></TD> 
            </TR>
            <TR>
                <TD>Category Description:</TD><TD> <input type="text" name="categoryDescription" value="${categoryDescription}" /></TD>
            </TR>
            <TR>
                <%session.setAttribute("courseManager", "editCategory");%>
                <TD><input type="submit" name="submit" value="Save" /> </TD>
            </TR>
        </TABLE>
            <A HREF="Menu?redirection=back">Back</A>
    </body>
</html>
